from fabric.api import *
env.hosts=['127.0.0.1]
env.user=
env.password=
def hello():
    print("hello")

def deploy():
    with cd('/home/happy975/timebank'):
        run('git pull')
        #sudo('git pull')
        sudo('supervisorctl restart timebank')
        sudo('supervisorctl status')
def clear():
    with cd('/home/happy975/timebank'):
        sudo('supervisorctl stop timebank')
        sudo('python3 clean.py')
        sudo('supervisorctl start timebank')
        sudo('supervisorctl status')
        
        #sudo('git pull')
       
